Optimal. Leaf size=66 \[ \frac {2 x \tanh \left (\frac {e}{2}+\frac {f x}{2}+\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (e+f x)}}{f}-\frac {4 \sqrt {a+i a \sinh (e+f x)}}{f^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 66, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {3319, 3296, 2638} \[ \frac {2 x \tanh \left (\frac {e}{2}+\frac {f x}{2}+\frac {i \pi }{4}\right ) \sqrt {a+i a \sinh (e+f x)}}{f}-\frac {4 \sqrt {a+i a \sinh (e+f x)}}{f^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2638
Rule 3296
Rule 3319
Rubi steps
\begin {align*} \int x \sqrt {a+i a \sinh (e+f x)} \, dx &=\left (\text {csch}\left (\frac {e}{2}-\frac {i \pi }{4}+\frac {f x}{2}\right ) \sqrt {a+i a \sinh (e+f x)}\right ) \int x \sinh \left (\frac {e}{2}-\frac {i \pi }{4}+\frac {f x}{2}\right ) \, dx\\ &=\frac {2 x \sqrt {a+i a \sinh (e+f x)} \tanh \left (\frac {e}{2}+\frac {i \pi }{4}+\frac {f x}{2}\right )}{f}-\frac {\left (2 \text {csch}\left (\frac {e}{2}-\frac {i \pi }{4}+\frac {f x}{2}\right ) \sqrt {a+i a \sinh (e+f x)}\right ) \int \cosh \left (\frac {e}{2}-\frac {i \pi }{4}+\frac {f x}{2}\right ) \, dx}{f}\\ &=-\frac {4 \sqrt {a+i a \sinh (e+f x)}}{f^2}+\frac {2 x \sqrt {a+i a \sinh (e+f x)} \tanh \left (\frac {e}{2}+\frac {i \pi }{4}+\frac {f x}{2}\right )}{f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.16, size = 87, normalized size = 1.32 \[ \frac {2 \sqrt {a+i a \sinh (e+f x)} \left ((f x-2 i) \sinh \left (\frac {1}{2} (e+f x)\right )+(-2+i f x) \cosh \left (\frac {1}{2} (e+f x)\right )\right )}{f^2 \left (\cosh \left (\frac {1}{2} (e+f x)\right )+i \sinh \left (\frac {1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {i \, a \sinh \left (f x + e\right ) + a} x\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 105, normalized size = 1.59 \[ \frac {i \sqrt {2}\, \sqrt {a \left (i {\mathrm e}^{2 f x +2 e}+2 \,{\mathrm e}^{f x +e}-i\right ) {\mathrm e}^{-f x -e}}\, \left (i x f +f x \,{\mathrm e}^{f x +e}+2 i-2 \,{\mathrm e}^{f x +e}\right ) \left ({\mathrm e}^{f x +e}-i\right )}{\left (i {\mathrm e}^{2 f x +2 e}+2 \,{\mathrm e}^{f x +e}-i\right ) f^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {i \, a \sinh \left (f x + e\right ) + a} x\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.27, size = 80, normalized size = 1.21 \[ \frac {\sqrt {2}\,\left ({\mathrm {e}}^{e+f\,x}+1{}\mathrm {i}\right )\,\left (f\,x\,{\mathrm {e}}^{e+f\,x}+f\,x\,1{}\mathrm {i}-2\,{\mathrm {e}}^{e+f\,x}+2{}\mathrm {i}\right )\,\sqrt {a\,{\mathrm {e}}^{-e-f\,x}\,{\left ({\mathrm {e}}^{e+f\,x}-\mathrm {i}\right )}^2\,1{}\mathrm {i}}}{f^2\,\left ({\mathrm {e}}^{2\,e+2\,f\,x}+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x \sqrt {i a \left (\sinh {\left (e + f x \right )} - i\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________